<?php include PATH_VIEW . 'gongyong.php'; ?>
<title>查询菜单 - 分组列表</title>
<div class="all_main">
    <div class="module_right">
        <dl>
            <dt>查询后台菜单
            <a href="#" onclick="dianji(17)">[关闭/展开]</a>
            </dt>
            <dd id="bb17" style="color: black;">
                <form name="form1" method="get" onsubmit="return checkSousuo()">
                    <input type="hidden" name="C" value="<?php echo trim($_GET['C']); ?>" />
                    <input type="hidden" name="A" value="<?php echo trim($_GET['A']); ?>" />
                    <input type="hidden" name="way" value="S" />
                    请输入查询关键字：<input class="changdu" type="text" name="query" id="query" value="<?php echo $keywords; ?>" onclick="huoqu()" onblur="shiq()" />
                    <input type="submit" class="style_input" name="yes" value="搜索" />
                    <span id="pandan">要求至少输入两个字符</span>
                </form>
            </dd>
        </dl>
    </div>
    <div class="module_right_bottom">
        <dl>
            <dt>后台菜单列表</dt>
            <dd>
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                    <tr>
                        <th>序号</th>
                        <th>分组名称</th>
                        <th>排序</th>
                        <th class="last">操作</th>
                    </tr>
                    <?php foreach ($info_list as $key => $ls) { ?>
                        <tr>
                            <td><?php echo ($key + 1); ?></td>
                            <td><?php echo $ls['Fname']; ?></td>
                            <td><?php echo $ls['Fsort']; ?></td>
                            <td class="last">
                                <a href="index.php?C=<?php echo trim($_GET['C']); ?>&A=<?php echo trim($_GET['A']); ?>&way=aa&current=<?php echo $ls['Fid']; ?>&page=<?php echo $page; ?>">修改</a>
                                <a href="index.php?C=<?php echo trim($_GET['C']); ?>&A=<?php echo trim($_GET['A']); ?>&way=D&current=<?php echo $ls['Fid']; ?>&page=<?php echo $page; ?>" onclick="return confirm('您确定删除该条记录吗？')" >删除</a>
                            </td>
                        </tr>
                    <?php } ?>
                    <tr>
                        <td colspan="10">
                            <?php
                            $p = new fenyyPage($total, $page,$keywords);
                            echo $p->fpage();
                            ?>
                            <form name="form1" method="get" onsubmit="return button()">
                                <input type="hidden" name="C" value="<?php echo trim($_GET['C']); ?>" />
                                <input type="hidden" name="A" value="<?php echo trim($_GET['A']); ?>" />
                                <input id="length" name="page" type="text" value="" class="tee" onkeyup="cheche()">
                                <input id="length1" type="submit" value="GO" class="goto">
                            </form>
                        </td>
                    </tr>
                </table>
            </dd>
        </dl>
    </div>